{%include file="header.html"%}
<form action="{%$formAction%}" method="POST" {%if $is_validator%} onsubmit="return Validator.Validate(this)" {%/if%}>
<!--<dl class="adminoption">
  <dt></dt> 
  <dd><a href="#tab1">{%$systemLang.baseInfo%}</a></dd> 
  <dd><a href="#tab2">{%$systemLang.authority%}</a></dd> 
</dl>
<div id="tab1" class="tab">-->
<table width="100%" border="0" class="adminform">
  <tr>
    <th align="left">{%$systemLang.name%}</th>
  </tr>
  <tr>
    <td align="left"><input type="text" class="text" name="form[user_true_name]" value="{%$user.user_true_name%}" id="form[user_truename]" dataType="Require" msg="{%$systemLang.nameRequire%}"  /></td>
  </tr>
    <tr><th align="left">{%$systemLang.nickName%}</th>
    </tr>
    <tr>
      
      <td align="left"><label>
        <input type="text" class="text"  name="form[user_name]"  value="{%$user.user_name%}" id="form[user_name]" dataType="Require" msg='{%$systemLang.nickNameRequire%}'/>
      </label></td>
    </tr>
     <tr><th align="left">{%$systemLang.pwd%}</th>
    </tr>
    <tr>
     
      <td align="left"><input  type="password" class="text" name="form[user_pwd]" id="form[user_pwd]"/></td>
    </tr>
      <tr><th align="left">{%$systemLang.replayPwd%}</th>
    </tr>
    <tr>
     
      <td align="left"><input name="repwd" class="text" type="password" id="repwd" dataType="Repeat" to="form[user_pwd]" msg="{%$systemLang.inconsistentEnter%}"/></td>
    </tr>
    <tr><th align="left">{%$systemLang.userGroup%}</th>
    </tr>
    <tr>
        <td align="left">
            <select name="form[group_id]" class="select" >
                {%html_options options=$groups selected=$user.group_id%}
            </select>
        </td>
    </tr>
    <tr>
     <tr><th align="left">{%$systemLang.attr%}</th>
    </tr>
    <tr>
     <td align="left"><input name="form[user_status]" type="radio" value="1" {%if $user.user_status == 1 %} CHECKED {%/if%}/>{%$systemLang.startUse%}<input name="form[user_status]" type="radio" value="0" {%if $user.user_status == 0 %}  CHECKED {%/if%}/>{%$systemLang.stopUse%}</td>
    </tr>
    
    <tr><th align="left">Email</th>
    </tr>
      <tr>
      <td align="left"><input type="text" class="text" name="form[user_email]" id="form[user_email]" value="{%$user.user_email%}" /></td>
    </tr>
    <tr>
    <tr><th align="left">{%$systemLang.telephone%}</th>
    </tr>
      <tr>
      <td align="left"><input type="text" class="text" name="form[user_phone]" id="form[user_phone]" value="{%$user.user_phone%}" /></td>
    </tr>

  <tr>
    <th>渠道权限</th>
  </tr>
    <tr>
      <td>
          <select name="channels[]" multiple="true" size="10" style="width:200px">
                  {%html_options options=$channels selected=$mychannels%}
          </select>
       </td>
    </tr>

</table>
<!--
</div>
<div id="tab2" class="tab">
<table width="100%" border="0" class="adminform">
 <tr><th align="left">{%$systemLang.userGroup%}</th>
    </tr>
    <tr>
      <td align="left">
		<select name="form[group_id]" class="select" >  
			{%html_options options=$groups selected=$user.group_id%}
		</select>
	   </td>
    </tr>
    <tr>
    <th align="left">{%$systemLang.gameAuth%}</th>
  </tr>
  <tr>
    <td align="left">
		<select name="games[]" multiple="true" size="10" style="width:200px">
                <option value="0">{%$systemLang.allGame%}</option>
                {%html_options options=$games selected=$userGames%}
        </select>
     </td>
  </tr>
  <tr>
    <th align="left">{%$systemLang.spreader%}</th>
  </tr>
  <tr>
    <td align="left" id="my_lm">
        <select name="user_lm[]" multiple="true" size="10" style="width:200px">
                <option value="0">{%$systemLang.allUnion%}</option>
                {%html_options options=$unions selected=$myunions%}
        </select>
    </td>
</tr>
  </table>
</div> -->
<input type="hidden" name="form[user_id]" value="{%$user.user_id%}"/>
<input type="submit"  id="button" value="{%$systemLang.submit%}" class="button"/>
</form>
